home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 039a / mawk10.zip / GENERIC.H < prev    next >
C/C++ Source or Header  |  1991-10-05  |  2KB  |  72 lines

  1.  
  2. /********************************************
  3. generic.h
  4. copyright 1991, Michael D. Brennan
  5.  
  6. This is a source file for mawk, an implementation of
  7. the AWK programming language.
  8.  
  9. Mawk is distributed without warranty under the terms of
  10. the GNU General Public License, version 2, 1991.
  11. ********************************************/
  12.  
  13.  
  14. /* $Log:    generic.h,v $
  15.  * Revision 4.1  91/09/25  11:41:23  brennan
  16.  * VERSION 1.0
  17.  * 
  18.  * Revision 3.2  91/08/13  09:04:11  brennan
  19.  * VERSION .9994
  20.  * 
  21.  * Revision 3.1  91/06/07  10:38:48  brennan
  22.  * VERSION 0.995
  23.  * 
  24. */
  25.  
  26. /* This is the most common and easiest case , if you satisfy the
  27.    following conditions link or copy this file to
  28.    ../config.h and make
  29.  
  30.    compiler does not have prototypes
  31.    compiler has void *
  32.  
  33.    have <string.h>
  34.    do not have  <stdlib.h>
  35.    use <varargs.h> instead of <stdarg.h>
  36.    have <fcntl.h>
  37.  
  38.    have matherr()
  39.    have strtod()
  40.    have fmod()
  41.  
  42.  
  43.    divison by zero, overflow and library domain errors do not
  44.    cause exceptions and this is default behavior.
  45.    For example this is true if you have IEEE754 floating point
  46.    and the traps are off by default as the standard says.
  47.    (The ANSI C committee forgot to read IEEE754 )
  48.  
  49.    You don't have to be frugal with memory, i.e. you are not
  50.    restricted to 64K of data or something similar
  51.  
  52.    Your OS is some flavor of Unix
  53. /*
  54.  
  55. /* tested and works on:
  56.  
  57. SunOS4.1  (sun 4.0.3 has a bug in strtod(), use sun_os40.h)
  58.  
  59. Ultrix4.1  on a MIPS
  60. Ultrix4.2  on a MIPS
  61. SysV3.02beta on a Stardent 3000
  62.  
  63. */
  64.  
  65. #ifndef  CONFIG_H
  66. #define  CONFIG_H    1
  67.  
  68.  
  69. #include "config/Idefault.h"
  70.  
  71. #endif
  72.